Deterministic parsing